import Vue from 'vue'
import Router from 'vue-router'
import Index from './pages/index'
import CompleteMock from './pages/compmock/completeMock'
import FinalQues from './pages/finalque/finalQues'
import WrongOrColl from './pages/home/wrongOrColl'
import Answer from './components/answer'
import OnlinePractice from './pages/onlinepractice/onlinePractice'
import OnlineExam from './pages/onlineexam/onlineExam'
import Course from './pages/course/course'
import ScoreAnalysis from './pages/statistics/scoreAnalysis'
import leaderboard from './pages/statistics/leaderboard'
import news from './pages/mine/news'
import mines from './pages/mine/mine'
import edit from './pages/mine/edit'
import about from './pages/mine/about'
import dailyPractice from './pages/home/dailyPractice'
import courseDetail from './pages/course/courseDetail'
import collect from './pages/home/collect'
Vue.use(Router);

export default new Router({
  mode:"history",
  routes: [
    {path:"/",component:Index},
    {path:"/answer",component:Answer,name:'Answer'},
    {path:"/compMock",component:CompleteMock},
    {path:"/finalQues",component:FinalQues},
    {path:"/wrongOrColl",component:WrongOrColl},
    {path:"/onlinepractice",component:OnlinePractice},
    {path:"/onlineexam",component:OnlineExam},
    {path:"/course",component:Course},
    {path:"/scoreAnalysis",component:ScoreAnalysis},
    {path:"/leaderboard",component:leaderboard},
    {path:"/news",component:news},
    {path:"/mines",component:mines},
    {path:"/edit",component:edit},
		{path:"/about",component:about},
    {path:"/dailyPractice",component:dailyPractice},
    { path: "/courseDetail", component: courseDetail },
    {path:"/collect",component:collect},
  ]
})
